package com.zeng.jiudian.dao;

import com.zeng.jiudian.bean.ProductTypeModel;

import java.util.List;

/**
 * @Author JJ_yo
 * @Date 2020/8/12 - 11:01
 */
public interface ProductTypeDao
{
    public int add(ProductTypeModel productTypeModel);

    public List<ProductTypeModel> findAll(ProductTypeModel productTypeModel);

    public int getCount(ProductTypeModel productTypeModel);

    public ProductTypeModel findById(int id);

    public int delete(int id);

    public int update(ProductTypeModel productTypeModel);

    public List<ProductTypeModel> getAll();
}
